import java.awt.*;

/**
 * Draws a pattern with 4 concentric squares.
 */
public class DrawSquares {
    /**
     * The size of the window
     */
    public static final int SIZE    = 200;

    /**
     * The number of squares to draw
     */
    public static final int SQUARES = 4;

    /**
     * The gap between the squares
     */
    public static final int GAP     = SIZE / (2 * (SQUARES + 1));

    public static void main(String[] args) {
        showDesign();
    }


    // --------------------------------
    // ----- ENTER YOUR CODE HERE -----
    // --------------------------------

    public static void showDesign() {
        DrawingPanel panel = new DrawingPanel(SIZE, SIZE);
        Graphics g = panel.getGraphics();
        for (int i = 1; i <= SQUARES; i++) {
            g.drawRect(GAP * i, GAP * i, SIZE - GAP * 2 * i, SIZE - GAP * 2 * i);
        }
    }
        

    
    // --------------------------------
    // --------- END USER CODE --------
    // --------------------------------


}